next patch from Erich Hoover:

- more menu support
- fix problem with Manny going to garage
This commit is contained in:
Pawel Kolodziejski 2005-04-08 08:22:02 +00:00
parent 92ab300774
commit 9c2b49ac8c
3 changed files with 120 additions and 89 deletions

View file

@ -125,7 +125,7 @@ void lua_Save(SaveRestoreFunc saveFunc) {
saveFunc(tempString->str, tempString->u.s.len);
} else {
if (saveCallback != NULL) {
tempString->u.s.globalval.value.ts = (TaggedString *)saveCallback(tempString->u.s.globalval.ttype, (int)tempString->u.s.globalval.value.ts, saveFunc);
tempString->u.s.globalval.value.ts = (TaggedString *)saveCallback(tempString->u.s.globalval.ttype, (long)tempString->u.s.globalval.value.ts, saveFunc);
}
saveObjectValue(&tempString->u.s.globalval, saveFunc);
}