mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 15:28:58 -04:00
update readme and fix always playing str (#1139)
* update readme deps * replace assert * bump timeout * fix memory corruption in kernel * use unknown if level name is invalid
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "Tfrag3Data.h"
|
||||
#include "common/util/assert.h"
|
||||
#include "common/util/Assert.h"
|
||||
|
||||
namespace tfrag3 {
|
||||
|
||||
@@ -97,7 +97,7 @@ void Level::serialize(Serializer& ser) {
|
||||
if (ser.is_loading() && version != TFRAG3_VERSION) {
|
||||
fmt::print("version mismatch when loading tfrag3 data. Got {}, expected {}\n", version,
|
||||
TFRAG3_VERSION);
|
||||
assert(false);
|
||||
ASSERT(false);
|
||||
}
|
||||
|
||||
ser.from_str(&level_name);
|
||||
@@ -133,7 +133,7 @@ void Level::serialize(Serializer& ser) {
|
||||
if (ser.is_loading() && version2 != TFRAG3_VERSION) {
|
||||
fmt::print("version mismatch when loading tfrag3 data (at end). Got {}, expected {}\n",
|
||||
version2, TFRAG3_VERSION);
|
||||
assert(false);
|
||||
ASSERT(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user