better polyobj count error for savegame
from Banpyura gonna look into their return to menu instead of i_error stuff sometime
This commit is contained in:
1 parent
c889a979ca
commit
eca01cbc39
1 file changed
+1
-1
+1
-1
@@ -3170,7 +3170,7 @@ FUNCINLINE static ATTRINLINE void P_UnArchivePolyObjects(savebuffer_t *save)
|
||||
numSavedPolys = READINT32(save->p);
|
||||
|
||||
if (numSavedPolys != numPolyObjects)
|
||||
I_Error("P_UnArchivePolyObjects: polyobj count inconsistency\n");
|
||||
I_Error("P_UnArchivePolyObjects: polyobj count inconsistency (expected %d, got %d)\n", numPolyObjects, numSavedPolys);
|
||||
|
||||
for (i = 0; i < numSavedPolys; ++i)
|
||||
P_UnArchivePolyObj(save, &PolyObjects[i]);
|
||||
|
||||
Reference in new issue
Block a user