Skip to content
Browse files

PutMapNotes: pst coordinates are stored as dwords, so don't cast one …

…to a word
  • Loading branch information...
1 parent 7667e00 commit bd94fbf09a0b1c86b99bdb330088569e7271b39f @lynxlynxlynx lynxlynxlynx committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/plugins/AREImporter/AREImporter.cpp
View
2 gemrb/plugins/AREImporter/AREImporter.cpp
@@ -2081,7 +2081,7 @@ int AREImporter::PutMapnotes( DataStream *stream, Map *map)
int x;
if (pst) {
- tmpDword = (ieWord) mn->Pos.x;
+ tmpDword = (ieDword) mn->Pos.x;
stream->WriteDword( &tmpDword );
tmpDword = (ieDword) mn->Pos.y;
stream->WriteDword( &tmpDword );

0 comments on commit bd94fbf

Please sign in to comment.
Something went wrong with that request. Please try again.