diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/game.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index eac0965..9f8f84b 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -151,6 +151,7 @@ void SerializeInstance(std::ofstream &stream, const CompInstance &comp) { baseInst.posRot = btTransform{}; baseInst.posRot.setIdentity(); baseInst.scale = btVector3(1, 1, 1); + baseInst.mass = 1; if (comp.entHandle != c.entHandle) stream << PKE_FILE_INSTANCE_ENTITY_HANDLE << handleStr << std::endl; stream << PKE_FILE_INSTANCE_ENTITY_TYPE_CODE << et->entityTypeCode << std::endl; |
