Author Topic: Problems with r189  (Read 4270 times)

Offline sir_nacnud

  • Captain
  • ***
  • Posts: 54
    • View Profile
Problems with r189
« on: November 02, 2010, 03:07:21 am »
I got a compile error on Linux.  #include <string> needs to be added to RuleSet.h.

I also noticed a warning with SavedBattleGrame.cpp, _terrian needs to be the first variable initialized in the constructor.

Lastly I ran into a problem where terrain data was failing to load due to case sensitive filenames.

The attached patch fixes all of these issues.


Offline zear

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: Problems with r189
« Reply #1 on: November 02, 2010, 11:37:19 am »
I confirm this problem occurs on my linux machine and that this patch fixes it.
Thanks sir_nacnud :)

Offline Daiky

  • Battlescape Programmer
  • Administrator
  • Commander
  • *****
  • Posts: 904
    • View Profile
Re: Problems with r189
« Reply #2 on: November 02, 2010, 12:51:47 pm »
I'm doing some cleanup in the battlescape code, so I'll add this one, thanks.