Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old March 2, 2016, 09:05   #21
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,665
PowerWyrm is on a distinguished road
Commit 04e0edd: in slay_power(), due to this change, known objects will be considered having no brands and slays.

Instead of

Code:
	/* Count the known brands and slays */
	if (!known && obj->known) {
		brands = obj->known->brands;
		slays = obj->known->slays;
	} else {
		brands = NULL;
		slays = NULL;
	}
it should be

Code:
	/* Count the known brands and slays */
	if (!known) {
           if (obj->known) { 
		brands = obj->known->brands;
		slays = obj->known->slays;
	  } else {
		brands = NULL;
		slays = NULL;
          }
	}
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old March 8, 2016, 14:36   #22
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,665
PowerWyrm is on a distinguished road
Player knowledge is now fully implemented. I'll give me up to the end of the week to fix remaining bugs before a new PWMAngband release (need it for a couple critical bugs, especially to fix the visible password problem).

Up to now I've got one crash on the client when wearing an amulet from the floor, but that's it. Unfortunately, I've not been able to reproduce it yet. I hope I didn't slow down the game further with the new changes... Seems to be ok when playing locally, would need to connect to a distant server to test the game in multiplayer mode.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
4.1 feature branches Nick Vanilla 117 June 26, 2016 06:20
Implementing stat swap concepts Derakon Development 11 December 10, 2015 12:58
Implementing the restructure changes PowerWyrm Development 244 October 28, 2015 17:55
Implementing different difficulty levels Greebley Vanilla 14 January 11, 2012 15:39
Angband source branches vs trac ctate Vanilla 1 July 14, 2007 12:43


All times are GMT +1. The time now is 06:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.