Skip to content

Commit

Permalink
Fixed|Deh Reader: Incorrect return value of parseWeaponNum
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 8, 2013
1 parent 61bd455 commit d006560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/dehread/src/dehreader.cpp
Expand Up @@ -565,7 +565,7 @@ class DehReader
{
int result = str.toInt(0, 0, String::AllowSuffix);
if(weaponNum) *weaponNum = result;
return (weaponNum >= 0);
return (result >= 0);
}

bool parseMobjTypeState(const QString& token, const StateMapping** state)
Expand Down

0 comments on commit d006560

Please sign in to comment.