Fixed templatetypeclass land_type. Template's can be placed but only the first tile seems to work.

This commit is contained in:
Justin Marshall
2020-07-01 11:14:03 -07:00
parent f6beb9b4ee
commit c7748a616d
11 changed files with 117 additions and 435 deletions
+2 -2
View File
@@ -1003,7 +1003,7 @@ void DisplayClass::Cursor_Mark(CELL pos, bool on)
CELL cell = pos + *ptr++;
if (In_Radar(cell)) {
cellptr = &(*this)[cell];
cellptr->Redraw_Objects();
cellptr->Redraw_Objects(true); // jmarshall: Force redraw all cursor tiles.
if (on) {
cellptr->IsCursorHere = true;
} else {
@@ -1022,7 +1022,7 @@ void DisplayClass::Cursor_Mark(CELL pos, bool on)
CELL cell = pos + *ptr++;
if (In_Radar(cell)) {
cellptr = &(*this)[cell];
cellptr->Redraw_Objects();
cellptr->Redraw_Objects(true); // jmarshall: Force redraw all cursor tiles.
}
}
}