- Added loading directories into the lump directory.
- fixed: The Dehacked parser could not parse flag values with the highest bit set because it used atoi to convert the string into a number. SVN r1624 (trunk)
This commit is contained in:
parent
53899121bf
commit
627838f379
13 changed files with 681 additions and 324 deletions
|
|
@ -802,7 +802,7 @@ static int PatchThing (int thingy)
|
|||
// Force the top 4 bits to 0 so that the user is forced
|
||||
// to use the mnemonics to change them. And MF_SLIDE doesn't
|
||||
// exist anymore, so 0 that too.
|
||||
value[0] |= atoi(strval) & 0x0fffdfff;
|
||||
value[0] |= strtoul(strval, NULL, 10) & 0x0fffdfff;
|
||||
vchanged[0] = true;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue