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:
water111
2022-02-08 19:02:47 -05:00
committed by GitHub
parent 3f394ef4d6
commit 78cde74d5a
243 changed files with 3525 additions and 3503 deletions
+3 -3
View File
@@ -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);
}
}